package org.maitaole.service.impl;

import org.maitaole.entity.TbGood;
import org.maitaole.mapper.TbGoodMapper;
import org.maitaole.service.ITbGoodService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TbGoodServiceImpl implements ITbGoodService {

    @Resource
    private TbGoodMapper tbGoodMapper;

    @Override
    public TbGood getTbGoodById(Integer goodsId) {
        return tbGoodMapper.selectById(goodsId);
    }
}
